﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Tree.aspx.cs" Inherits="OpenWaves.Web.Showcase.Tree" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <x:TreeView runat="server" DataSource="<%# RootNodes %>">
                <Template>
                    <ul>
                        <ow:ChildNodesPlaceHolder runat="server" />
                    </ul>
                </Template>
                
                <NodeTemplate>
                    <li>
                        <%#Container.Node.Title %>
                        <ul>
                            <ow:ChildNodesPlaceHolder runat="server" />
                        </ul>
                    </li>
                </NodeTemplate>
            </x:TreeView>
        </div>
    </form>
</body>
</html>
